import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/assets/css/reset.scss'
import api from './api/index'
import 'babel-polyfill'
import 'mobile-drag-drop'
Vue.prototype.$request = api
// import VueHtml5Editor from 'vue-html5-editor'
// Vue.use(VueHtml5Editor, {name: "vue-html5-editor",showModuleName: false});
Vue.config.productionTip = false
// import { Dialog } from 'vant';
// import KFormDesign from 'k-form-design'
// import 'k-form-design/lib/k-form-design.css'
// Vue.use(KFormDesign)

// //引入插件核心文件
// import VueQuillEditor from 'vue-quill-editor'
// //引入插件样式
// import 'quill/dist/quill.core.css'
// import 'quill/dist/quill.snow.css'
// import 'quill/dist/quill.bubble.css'

import { Popup, Swipe, SwipeItem, Lazyload } from 'vant';

Vue.use(Lazyload);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Popup);

// Vue.use(Dialog);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
